home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / win / ch31 / 31fig02.wrl < prev    next >
Text File  |  1996-09-23  |  633b  |  34 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. PROTO WallColor [ ] {
  6.     Material {
  7.         diffuseColor 0.0 0.6 1.0
  8.     }
  9. }
  10. PROTO Gold [ ] {
  11.     Material { 
  12.         ambientIntensity 0.4
  13.         diffuseColor 0.22 0.15 0.0
  14.         specularColor 0.71 0.70 0.56
  15.         shininess 0.16
  16.     }
  17. }
  18. PROTO Aluminum [ ] {
  19.     Material { 
  20.         ambientIntensity 0.3
  21.         diffuseColor 0.30 0.30 0.50
  22.         specularColor 0.70 0.70 0.80
  23.         shininess 0.10
  24.     }
  25. }
  26. PROTO Copper [ ] {
  27.     Material { 
  28.         ambientIntensity 0.26
  29.         diffuseColor 0.30 0.11 0.00
  30.         specularColor 0.75 0.33 0.00
  31.         shininess 0.08
  32.     }
  33. }
  34.